/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.oalam.bookstore.utils;

import com.oalam.bookstore.domain.BusinessObject;

/**
 * usage SQLQueryGenerator.generate(
 * @author Administrateur
 */
public class SQLQueryGenerator{
    
    
    public static <T extends BusinessObject> String generate(T t){
        String result = "";
        
        String className = t.getClass().getSimpleName();
      
        result = "SELECT * FROM" + className + "WHERE";

        
        return result;
    }
}
